<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body style="text-align: center">
<h1>网页聊天室--登录</h1>
<form style="text-align: center" action="/login.do" method="post">
    <#if errorMsg??>
        <span style="color: red">${errorMsg}</span>
    </#if>
    <input type="text" name="userName" placeholder="userName" required>
    <br>
    <input type="password" name="password" placeholder="password" required>
    <br>
    <button type="submit">提交</button>
</form>
</body>
</html>